export default {
  mdctrlActiveMode: 2,
  xdataControlName: 'list',
  loadDefault: true,
  deviewCodeName: 'list_dyna_enbale',
  deviewId: '85366d09dfb633834956316a77fedb80',
  appWFId: 'workflow',
  accUserMode: 3,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '列表_动态启用',
  codeName: 'master_list_dyna_enbale',
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'ListView',
      id: 'engine',
    },
  ],
  appViewLogics: [
    {
      logicTrigger: 'CUSTOM',
      logicType: 'APPUILOGIC',
      builtinAppUILogic: {
        actionAfterWizard: 'DEFAULT',
        newDataAppView: {
          openMode: 'POPUPMODAL',
          refAppViewId: 'web.master_edit_view',
        },
        appUILogicRefViews: [
          {
            openMode: 'POPUPMODAL',
            refAppViewId: 'web.master_edit_view',
          },
        ],
        builtinLogic: true,
        logicType: 'PREDEFINED',
        viewLogicType: 'APP_NEWDATA',
        id: '新建数据',
      },
      builtinLogic: true,
      id: 'newdata',
    },
    {
      logicTrigger: 'CUSTOM',
      logicType: 'APPUILOGIC',
      builtinAppUILogic: {
        openDataAppView: {
          openMode: 'POPUPMODAL',
          refAppViewId: 'web.master_edit_view',
        },
        editMode: true,
        appUILogicRefViews: [
          {
            openMode: 'POPUPMODAL',
            refAppViewId: 'web.master_edit_view',
          },
        ],
        builtinLogic: true,
        logicType: 'PREDEFINED',
        viewLogicType: 'APP_OPENDATA',
        id: '打开数据',
      },
      builtinLogic: true,
      id: 'opendata',
    },
  ],
  appViewRefs: [
    {
      realOpenMode: 'POPUPMODAL',
      realTitle: '主数据编辑视图',
      refAppViewId: 'web.master_edit_view',
      name: 'NEWDATA',
      id: 'newdata',
    },
    {
      realOpenMode: 'POPUPMODAL',
      realTitle: '主数据编辑视图',
      refAppViewId: 'web.master_edit_view',
      name: 'EDITDATA',
      id: 'editdata',
    },
  ],
  controls: [
    {
      groupMode: 'NONE',
      groupStyle: 'DEFAULT',
      itemLayoutPanel: {
        layoutMode: 'FLEX',
        layout: {
          layout: 'FLEX',
        },
        rootPanelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    actionGroupExtractMode: 'ITEM',
                    panelItems: [
                      {
                        rawItem: {
                          caption: '开始时间：',
                          halign: 'LEFT',
                          renderMode: 'PARAGRAPH',
                          valign: 'MIDDLE',
                          wrapMode: 'NOWRAP',
                          contentType: 'RAW',
                          predefinedType: 'STATIC_LABEL',
                          id: 'static_label',
                        },
                        caption: '开始时间：',
                        itemStyle: 'DEFAULT',
                        itemType: 'RAWITEM',
                        layoutPos: {
                          shrink: 1,
                          layout: 'FLEX',
                        },
                        showCaption: true,
                        id: 'static_label',
                      },
                      {
                        editor: {
                          dateTimeFormat: 'YYYY-MM-DD',
                          editorParams: {
                            TIMEFMT: 'YYYY-MM-DD',
                          },
                          editorType: 'DATEPICKEREX_NOTIME',
                          predefinedType: 'FIELD_TEXT_DYNAMIC',
                          valueType: 'SIMPLE',
                          editable: true,
                          id: 'start_time',
                        },
                        viewFieldName: 'start_time',
                        allowEmpty: true,
                        caption: '文本(动态)',
                        itemStyle: 'DEFAULT',
                        itemType: 'FIELD',
                        controlLogics: [
                          {
                            itemName: 'start_time',
                            logicTag: 'list_itempanel',
                            logicType: 'SCRIPT',
                            scriptCode: 'data.enable',
                            triggerType: 'ITEMENABLE',
                            id: 'logic',
                          },
                        ],
                        layoutPos: {
                          shrink: 1,
                          layout: 'FLEX',
                        },
                        panelItemGroupLogics: [
                          {
                            logicCat: 'ITEMENABLE',
                            relatedItemNames: ['enable'],
                            groupOP: 'AND',
                            panelItemLogics: [
                              {
                                condOp: 'EQ',
                                dstModelField: 'enable',
                                value: '1',
                                logicType: 'SINGLE',
                                id: 'enable 等于(=) 1',
                              },
                            ],
                            logicType: 'GROUP',
                          },
                        ],
                        id: 'start_time',
                      },
                    ],
                    layout: {
                      dir: 'row',
                      layout: 'FLEX',
                      valign: 'center',
                    },
                    dataRegionType: 'INHERIT',
                    caption: '容器',
                    itemStyle: 'DEFAULT',
                    itemType: 'CONTAINER',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    id: 'container2',
                  },
                  {
                    actionGroupExtractMode: 'ITEM',
                    panelItems: [
                      {
                        rawItem: {
                          caption: '结束时间：',
                          halign: 'LEFT',
                          renderMode: 'PARAGRAPH',
                          valign: 'MIDDLE',
                          wrapMode: 'NOWRAP',
                          contentType: 'RAW',
                          predefinedType: 'STATIC_LABEL',
                          id: 'static_label1',
                        },
                        caption: '结束时间：',
                        itemStyle: 'DEFAULT',
                        itemType: 'RAWITEM',
                        layoutPos: {
                          shrink: 1,
                          layout: 'FLEX',
                        },
                        showCaption: true,
                        id: 'static_label1',
                      },
                      {
                        editor: {
                          dateTimeFormat: 'YYYY-MM-DD',
                          editorParams: {
                            TIMEFMT: 'YYYY-MM-DD',
                          },
                          editorType: 'DATEPICKEREX_NOTIME',
                          predefinedType: 'FIELD_TEXT_DYNAMIC',
                          valueType: 'SIMPLE',
                          editable: true,
                          id: 'end_time',
                        },
                        viewFieldName: 'end_time',
                        allowEmpty: true,
                        caption: '文本(动态)',
                        itemStyle: 'DEFAULT',
                        itemType: 'FIELD',
                        controlLogics: [
                          {
                            itemName: 'end_time',
                            logicTag: 'list_itempanel',
                            logicType: 'SCRIPT',
                            scriptCode: 'data.enable',
                            triggerType: 'ITEMENABLE',
                            id: 'logic1',
                          },
                        ],
                        layoutPos: {
                          shrink: 1,
                          layout: 'FLEX',
                        },
                        panelItemGroupLogics: [
                          {
                            logicCat: 'ITEMENABLE',
                            relatedItemNames: ['enable'],
                            groupOP: 'AND',
                            panelItemLogics: [
                              {
                                condOp: 'EQ',
                                dstModelField: 'enable',
                                value: '1',
                                logicType: 'SINGLE',
                                id: 'enable 等于(=) 1',
                              },
                            ],
                            logicType: 'GROUP',
                          },
                        ],
                        id: 'end_time',
                      },
                    ],
                    layout: {
                      dir: 'row',
                      layout: 'FLEX',
                      valign: 'center',
                    },
                    dataRegionType: 'INHERIT',
                    caption: '容器',
                    itemStyle: 'DEFAULT',
                    itemType: 'CONTAINER',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                      spacingTop: 'OUTERMEDIUM',
                    },
                    id: 'container3',
                  },
                ],
                layout: {
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                id: 'container1',
              },
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    rawItem: {
                      caption: '切换启用状态：',
                      halign: 'LEFT',
                      renderMode: 'PARAGRAPH',
                      valign: 'MIDDLE',
                      wrapMode: 'NOWRAP',
                      contentType: 'RAW',
                      predefinedType: 'STATIC_LABEL',
                      id: 'static_label2',
                    },
                    caption: '切换启用状态：',
                    itemStyle: 'DEFAULT',
                    itemType: 'RAWITEM',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'static_label2',
                  },
                  {
                    editor: {
                      editorType: 'SWITCH',
                      editorWidth: 200,
                      predefinedType: 'FIELD_SWITCH',
                      valueType: 'SIMPLE',
                      editable: true,
                      id: 'enable',
                    },
                    viewFieldName: 'enable',
                    allowEmpty: true,
                    caption: '开关',
                    contentWidth: 200,
                    itemStyle: 'DEFAULT',
                    itemType: 'FIELD',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                      width: 200,
                      widthMode: 'PX',
                    },
                    width: 200,
                    id: 'enable',
                  },
                ],
                layout: {
                  dir: 'row',
                  layout: 'FLEX',
                  valign: 'center',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  shrink: 1,
                  layout: 'FLEX',
                },
                id: 'container4',
              },
            ],
            layout: {
              align: 'space-between',
              dir: 'row',
              layout: 'FLEX',
              valign: 'center',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            id: 'container',
          },
        ],
        layoutPanel: true,
        codeName: 'auto24538856',
        controlType: 'PANEL',
        logicName: 'list_dyna_enbale列表',
        appDataEntityId: 'web.master',
        controlParam: {},
        modelId: 'cf3846b7e85878e8a2eda76b8bd3a16c',
        modelType: 'PSSYSVIEWPANEL',
        name: 'list_itempanel',
        id: 'web.master.auto24538856',
      },
      orderValueAppDEFieldId: 'px',
      delistDataItems: [
        {
          appDEFieldId: 'end_time',
          dataType: 5,
          format: 'YYYY-MM-DD HH:mm:ss',
          id: 'end_time',
        },
        {
          appDEFieldId: 'start_time',
          dataType: 5,
          format: 'YYYY-MM-DD HH:mm:ss',
          id: 'start_time',
        },
        {
          appDEFieldId: 'enable',
          dataType: 9,
          id: 'enable',
        },
        {
          appDEFieldId: 'id',
          dataType: 25,
          id: 'srfkey',
        },
        {
          appDEFieldId: 'name',
          dataType: 25,
          id: 'srfmajortext',
        },
        {
          appDEFieldId: 'region_id',
          dataType: 25,
          id: 'region_id',
        },
        {
          appDEFieldId: 'category_type',
          dataType: 25,
          id: 'srfdatatype',
        },
        {
          appDEFieldId: 'category_type',
          dataType: 25,
          id: 'category_type',
        },
        {
          appDEFieldId: 'category_id',
          dataType: 25,
          id: 'category_id',
        },
        {
          appDEFieldId: 'wf_status',
          frontCodeListId: 'web.wfstates',
          dataType: 25,
          id: 'wf_status',
        },
      ],
      pagingMode: 1,
      pagingSize: 10,
      hasWFDataItems: true,
      enablePagingBar: true,
      showHeader: true,
      navViewPos: 'NONE',
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.master',
        id: 'create',
      },
      fetchControlAction: {
        appDEMethodId: 'fetch_default',
        appDataEntityId: 'web.master',
        id: 'fetch',
      },
      getControlAction: {
        appDEMethodId: 'get',
        appDataEntityId: 'web.master',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.master',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.master',
        id: 'update',
      },
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'list_dyna_enbale',
      controlType: 'LIST',
      logicName: 'list_dyna_enbale',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'list',
      },
      modelId: 'c540c71991ffcf9c3b9ea20ca755d988',
      modelType: 'PSDELIST',
      name: 'list',
      id: 'web.master.list_dyna_enbale',
    },
    {
      groupMode: 'SINGLE',
      controlType: 'SEARCHBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'searchbar',
      },
      id: 'searchbar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '列表_动态启用',
      codeName: 'list_dyna_enbale_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'list_dyna_enbale_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDELISTVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '列表_动态启用',
  viewStyle: 'DEFAULT',
  viewType: 'DELISTVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: 'd34b5b7f247dd852d02edca4c9379de6',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERlist_dyna_enbale',
  id: 'web.master_list_dyna_enbale',
};
